#!/usr/bin/env.python
# _*_ coding:utf-8 _*_
# # # # # # # # # # # # # # # # # # # #
#  题目:      创建fncl镜像文件          #
#  姓名:         李吉辉                #
#  时间:    2018年9月4日21:24:15       #
# # # # # # # # # # # # # # # # # # # #
"""
解决报错  ModuleNotFoundError: No module named 'fcntl'

"""

def fcntl(fd, op, arg=0):
    return 0


def ioctl(fd, op, arg=0, mutable_flag=True):
    if mutable_flag:
        return 0
    else:
        return ""


def flock(fd, op):
    return


def lockf(fd, operation, length=0, start=0, whence=0):

    return